package cn.jjxx.modules.resources.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.resources.mapper.HumanResourceTitleMapper;
import cn.jjxx.modules.resources.entity.HumanResourceTitle;
import cn.jjxx.modules.resources.service.IHumanResourceTitleService;
import com.baomidou.mybatisplus.mapper.Wrapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 单位高级职称、职业资格情况
 * @Description: 单位高级职称、职业资格情况
 * @author zx
 * @date 2021-05-27 09:38:38
 * @version V1.0   
 *
 */
@Transactional
@Service("humanResourceTitleService")
public class HumanResourceTitleServiceImpl  extends CommonServiceImpl<HumanResourceTitleMapper,HumanResourceTitle> implements  IHumanResourceTitleService {

	@Override
	public boolean insertBatch(List<HumanResourceTitle> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<HumanResourceTitle> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}

	@Override
	public List<HumanResourceTitle> selectTotal(Wrapper<HumanResourceTitle> wrapper) {
		return baseMapper.selectTotal(wrapper);
	}
}
